package de.baumann.browser.api.net.vo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class Licence implements Serializable {

    @SerializedName(value = "poolId", alternate = {"pool_id"})
    private Integer poolId;
    @SerializedName(value = "spoolId",alternate = {"spool_id"})
    private Integer spoolId;
    @SerializedName(value = "userId",alternate = {"user_id"})
    private Integer userId;

    @SerializedName(value = "lisence",alternate = {"licence"})
    private String licence;
    @SerializedName(value = "remark",alternate = {"licence_alise"})
    private String remark;
    @SerializedName(value = "status", alternate = "state")
    private String status;
    @SerializedName(value = "licence_id",alternate = {"id"})
    private String licenceId;

    private String expirationStr;


    public Integer getPoolId() {
        return poolId;
    }

    public void setPoolId(Integer poolId) {
        this.poolId = poolId;
    }

    public Integer getSpoolId() {
        return spoolId;
    }

    public void setSpoolId(Integer spoolId) {
        this.spoolId = spoolId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLisence() {
        return licence;
    }

    public void setLisence(String lisence) {
        this.licence = lisence;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLicenceId() {
        return licenceId;
    }

    public void setLicenceId(String licenceId) {
        this.licenceId = licenceId;
    }

    public String getExpirationStr() {
        return expirationStr;
    }

    public void setExpirationStr(String expirationStr) {
        this.expirationStr = expirationStr;
    }

    @Override
    public String toString() {
        return "Licence{" +
                "poolId=" + poolId +
                ", spoolId=" + spoolId +
                ", userId=" + userId +
                ", lisence='" + licence + '\'' +
                ", remark='" + remark + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
